<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="js/layui/css/layui.css" />
		<script type="text/javascript" src="js/layui/layui.js" charset="UTF-8"></script>
		<script>
			// 按需引入模块
			layui.use(['layer', 'form'], function() {
				var layer = layui.layer,
					form = layui.form;
				console.log(layer)
				console.log(form)

			})
		</script>
	</head>

	<body>

		<input type="text" name="" id="date" value="" />
	</body>

</html>